package com.rhb.erp.web.struts.action;

import com.rhb.erp.hr.department.business.DepartmentBusiness;
import com.rhb.erp.hr.person.business.PersonBusiness;
import com.rhb.erp.AppContext;
import com.rhb.web.struts.action.BaseDispatchAction;

public class ErpBaseDispatchAction extends BaseDispatchAction {

	public ErpBaseDispatchAction() {
		super();
	}

	protected PersonBusiness getPersonBusiness() {
		return (PersonBusiness) AppContext.getInstance().getAppContext().getBean("personBusiness");
	}
	protected DepartmentBusiness getDepartmentBusiness() {
		return (DepartmentBusiness) AppContext.getInstance().getAppContext().getBean("departmentBusiness");
	}

}

